<template>
	<view>
		<view class="top-box">
			<image src="../../static/images/userBg.png"></image>
		</view>
		<view class="padd-box">
			<view class="data-box flexWrap">
				<view class="data-item flexWarpCenterColumn">
					<view>3523</view>
					<view class="data-title">团队总人数</view>
				</view>
				<view class="data-item flexWarpCenterColumn">
					<view>100</view>
					<view class="data-title">直接会员</view>
				</view>
				<view class="data-item flexWarpCenterColumn">
					<view>3423</view>
					<view class="data-title">间接会员</view>
				</view>
			</view>
			<view class="team-box">
				<view class="team-item flexWrap" v-for="(item) in 10">
					<view class="item-left flexWrapNo">
						<image src="../../static/images/userBg.png" class="head-img"></image>
						<view class="user-info">
							<view>张三的爷爷</view>
							<view class="grade">直接会员</view>
						</view>
					</view>
					<view class="time">2024-04-15 21:18:33</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	page{
		background: #fff;
	}
	image{
		width: 100%;
		height: 100%;
	}
	.top-box{
		height: 300upx;
		position: relative;
	}
	.padd-box{
		padding:0 30upx;
		margin-top: -138upx;
		position: relative;
	}
	.data-box{
		height: 138rpx;
		background:rgba(255, 255, 255, 1);
		border-radius: 10rpx 10rpx 0rpx 0rpx;
		padding: 0 24upx;
		justify-content: space-around;
		.data-item{
			font-family: PingFang SC, PingFang SC;
			font-weight: bold;
			font-size: 36rpx;
			color: #04AC3C;
			.data-title{
				font-family: Segoe UI, Segoe UI;
				font-weight: 400;
				font-size: 28rpx;
				color: #6A6A6A;
			}
		}
	}
	.team-box{
		background: #F6F6F6;
		border-radius: 0rpx 0rpx 10rpx 10rpx;
		.team-item{
			border-bottom: 4upx solid #FFFFFF;
			padding: 20upx 27upx;
			align-items: flex-start;
			.item-left{
				.head-img{
					width: 86upx;
					height: 86upx;
					border-radius: 50%;
					margin-right: 16upx;
				}
				.user-info{
					font-family: PingFang SC, PingFang SC;
					font-weight: 400;
					font-size: 28rpx;
					color: #474747;
					.grade{
						font-family: PingFang SC, PingFang SC;
						font-weight: 500;
						font-size: 18rpx;
						color: #FF0000;
						padding: 0 10upx;
						height: 34rpx;
						line-height: 34rpx;
						text-align: center;
						background: #FFFFFF;
						border-radius: 4rpx;
						border: 1rpx solid #FF2727;
						margin-top: 8upx;
					}
				}
			}
			.time{
				font-family: PingFang SC, PingFang SC;
				font-weight: 400;
				font-size: 18rpx;
				color: #888888;
			}
		}
	}
</style>
